package com.model;

/**
 *
 * @author Lang Van Hao
 */
public class Origin {

    private int originID;
    private String originName;

    public Origin() {
    }

    public Origin(int originID, String originName) {
        this.setData(originID, originName);
    }

    /**
     * Mothod to set data for OriginClass
     * @param originID
     * @param originName
     */
    public void setData(int originID, String originName) {
        this.setOriginID(originID);
        this.setOriginName(originName);
    }

    /**
     * @return the originID
     */
    public int getOriginID() {
        return originID;
    }

    /**
     * @param originID the originID to set
     */
    public void setOriginID(int originID) {
        this.originID = originID;
    }

    /**
     * @return the originName
     */
    public String getOriginName() {
        return originName;
    }

    /**
     * @param originName the originName to set
     */
    public void setOriginName(String originName) {
        this.originName = originName;
    }
}
